import Vue from "./vue.js"
import MfpConfig from "../build/mfp.config.js"
import components from './components/index.js'
const configs = []

components.forEach((key) => {
  Vue.component(`${MfpConfig.name}-${key}-config`, () => import(`./components/${key}/config.vue`))
    configs.push(import(`./components/${key}/config.js`))
  }
)
export default {
  components: configs,
}
